package com.ghy.dto;

/**
 * @author GaoHeYang
 */

import com.ghy.constant.RE;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/** @author JoeZhou */
@Schema(name = "查询预支付二维码DTO")
@Data
public class QrCodeDTO implements Serializable, RE {

    @NotEmpty(message = "订单编号不能为空")
    @Schema(description = "订单编号")
    private String sn;

    @NotNull(message = "课程主键列表不能为空")
    @Schema(description = "实际支付金额")
    private Double payAmount;
}